package com.pzhu.record.mapper;

import com.pzhu.record.entity.Course;

import java.util.List;

public interface CourseMapper {
    int deleteByPrimaryKey(Integer courseCoursenume);

    int insert(Course record);

    int insertSelective(Course record);

    /**
     * 查询所有课程
     *
     * @return
     */
    List<Course> selectAll();

    /**
     * 查询课程学年
     *
     * @return
     */
    List<Course> selectAllYear();

    Course selectByPrimaryKey(Integer courseCoursenume);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);
}